package com.wms.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 补货单详情;
 * @author : http://www.chiner.pro
 * @date : 2025-8-15
 */
@ApiModel(value = "补货单详情",description = "")
@Table(name="b_replenishment_derail")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BReplenishmentDerail implements Serializable,Cloneable {
    /** id */
    @ApiModelProperty(name = "id",notes = "")
    private String id ;
    /** 一级品类 */
    @ApiModelProperty(name = "一级品类",notes = "")
    private String categoryName ;
    /** 商品名称 */
    @ApiModelProperty(name = "商品名称",notes = "")
    private String name ;
    /** 商品编码 */
    @ApiModelProperty(name = "商品编码",notes = "")
    private String code ;
    /** 规格 */
    @ApiModelProperty(name = "规格",notes = "")
    private String spec ;
    /** 价格 */
    @ApiModelProperty(name = "价格",notes = "")
    private Double price ;
    /** 补货数量 */
    @ApiModelProperty(name = "数量",notes = "")
    private Integer num ;
    /** 可用库存 */
    @ApiModelProperty(name = "可用库存",notes = "")
    private Integer availableStock ;
    /** 合计补货 */
    @ApiModelProperty(name = "合计补货",notes = "")
    private String totalReplenishment ;
    /** 审核状态;1未审核 2 审核通过  3审核未通过 */
    @ApiModelProperty(name = "审核状态",notes = "1未审核 2 审核通过  3审核未通过")
    private Integer auditStatus ;
    /** 审核合计数量 */
    @ApiModelProperty(name = "审核合计数量",notes = "")
    private Integer auditTotal ;
    /** 对比需求 */
    @ApiModelProperty(name = "对比需求",notes = "")
    private Integer compareNeed ;
    /** 补货需求;1-打开 2-关闭 */
    @ApiModelProperty(name = "补货需求",notes = "1-打开 2-关闭")
    private Integer status ;
}

